<template>
    <div class='box'>
        <router-link  to='/input'>表单</router-link>
        <!-- <router-link  :to='{path:"/input",query:obj}'>表单2</router-link> -->
        <router-link  to='/list'>列表</router-link>
        <!-- <router-link  :to='{name:"LIST",params:{id123:666,q:345}}'>列表</router-link> -->

        <div>
          <router-view></router-view>
        </div>
    </div>
</template>
<script>
// @ is an alias to /src
export default {
    name: 'TODO',
    data() {
        return {
          obj:{a:123,b:345,c:456}
        }
    },
    components: {
        
    }
}
</script>
<style lang="less">
  .box{
    text-align: center;
    font: 30px;
  }
</style>